/*
* Copyright© 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.config;

/**
 * 返回码
 * @author YangGuang
 *
 */
public class ResponseCode {

	public static final int SUCCESS = 2000; // 请求成功
	public static final int TOKEN_ERROR = 3001;// token无效
	public static final int NO_DATA = 4000; // 暂无数据
	public static final int PARAM_ERROR = 4001; // 参数错误
	public static final int CODE_ERROR = 4002; // 验证码错误
	public static final int REGISTER_ERROR = 4003; // 注册失败
	public static final int MOBILE_ERROR = 4004; // 手机号格式错误
	public static final int CODE_NULL = 4005; // 请求校验的验证码为空
	public static final int CODE_FREQUENTLY = 4006; // 请求校验验证码频繁
	public static final int CODE_SWITCH = 4007; // 没有打开服务端验证开关
	public static final int APP_KEY_NULL = 4008; // AppKey为空
	public static final int APP_KEY_INVALID = 4009; // AppKey无效
	public static final int IDSN_ERROR = 4010; // 身份证格式错误
	public static final int IDSN_EXIST = 4011; // 身份证已存在
	public static final int ID_NAME_NOT_MATCH = 4012; // 身份证姓名不匹配
	public static final int FAIL = 4013; // 操作失败
	public static final int STROKE_IS_EXISTING = 4101; // 行程已存在
	public static final int STROKE_IS_INVALID = 4102; // 行程已失效
	public static final int ALREADY_PAY = 4103; // 已支付
	public static final int NO_AUTH = 4104; // 没有认证
	public static final int REPEATED_SUBMIT = 4105; // 重复提交
	public static final int OAUTH_CODE_INVALIDA = 4106; // 授权code码无效
	public static final int ILLEGAL_REQUEST = 4107; // 非法请求
	public static final int SMS_MAX = 4108; // 短信发送上限
	public static final int SMS_FREQUENTLY = 4109; // 短信发送频繁
	public static final int SERVER_ERROR = 5000; // 服务器异常
	public static final int NO_LOGIN = 40020; // 登录失败
	public static final String MESSENGER = "服务器异常"; // 服务器异常
	public static final String LOGINFAIL = "登录失败,请稍后重试";
}
